/**
 * Copyright (c) 2024,  科泰集团教研团队
 * 版权所有，请勿侵权
 */
package com.ktjiaoyu.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员可以参与新闻讨论实体类
 * @author 科泰集团教研团队
 * @createTime 2024-4-17 20:49:54
 * @lastModify 2024-4-17 20:49:54
 * @version 1.0.0
 */
public class NewsComment implements Serializable {

  public NewsComment() {
  }

  private Long id;  //主键，自增长
  private Long newsId;  //被评论的新闻，关联新闻ID
  private Long memberId;  //评论者，关联会员ID
  private String content;  //发表的评论内容
  private Date commentTime;  //发表评论的时间
  private Integer score;  //会员对新闻专业度进行评分（1-5）
  private Integer likes;  //点赞数量


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public Long getNewsId() {
    return newsId;
  }

  public void setNewsId(Long newsId) {
    this.newsId = newsId;
  }


  public Long getMemberId() {
    return memberId;
  }

  public void setMemberId(Long memberId) {
    this.memberId = memberId;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Date getCommentTime() {
    return commentTime;
  }

  public void setCommentTime(Date commentTime) {
    this.commentTime = commentTime;
  }


  public Integer getScore() {
    return score;
  }

  public void setScore(Integer score) {
    this.score = score;
  }


  public Integer getLikes() {
    return likes;
  }

  public void setLikes(Integer likes) {
    this.likes = likes;
  }

}
